﻿$SiteUrl =  "http://win-45ms5vlta3b:1234/"
$BackupPath = "E:\"
$d = Get-Date
$BackupFileName = "PiramalSiteBackup_$($d.Day)_$($d.Month)_$($d.Year)_$($d.Hour)_$($d.Minute)_$($d.Second).bak"
Write-Host "Taking backup $BackupFileName at $BackupPath"
Backup-SPSite $SiteUrl -Path $BackupPath$BackupFileName

